import {createRouter, createWebHistory} from 'vue-router'


const constRouter = [
    {
        path: '',
        redirect: "/login"
    },
    {
        path: '/login',
        name: "login",
        component: () => import("@/views/Login.vue")
    },
]

const router = createRouter({
    history: createWebHistory(import.meta.env.BASE_URL),
    routes: constRouter
})

export default router
